import { get,post } from "@/api/sys.login.js";

//登录请求
export const postUserLogin = (userData) => post ("/user/login",userData)
//测试请求
export const run = () => get ("/user/run")
//注册请求
export const postUserRegister = (userData) => post ("/user/register",userData)
//注销请求
export const postUserLoginOut = () => post("/user/loginOut")
//用户数据请求
export const postSearchUserData = (username,pagenum,pagesize,value) => get("/user/search?"+"username="+username+"&pagenum="+pagenum+"&pagesize="+pagesize+"&value="+value)
